package com.ruoyi.back.service

import com.baomidou.mybatisplus.extension.service.IService
import com.ruoyi.app.common.Data
import com.ruoyi.back.domain.SpreadCenterSetting

interface SpreadCenterSettingService : IService<SpreadCenterSetting> {


    /**
     * 获取推广中心设置
     */
    fun getSpreadCenterSetting(channelType: Int): Data<SpreadCenterSetting>


    /**
     * 设置推广中心
     */
    fun saveSpreadCenterSetting(spreadCenterSetting: SpreadCenterSetting): Data<Boolean>
}